Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Camera Objects Routines / Managing Cameras


Q3Camera_GetType

You can use the Q3Camera_GetType function to get type of a camera.

TQ3ObjectType Q3Camera_GetType (TQ3CameraObject camera);
camera
A camera object.
DESCRIPTION
The Q3Camera_GetType function returns, as its function result, the type of the camera specified by the camera parameter. The types of camera currently supported by QuickDraw 3D are defined by these constants:

kQ3CameraTypeOrthographic
kQ3CameraTypeViewAngleAspect
kQ3CameraTypeViewPlane
If Q3Camera_GetType cannot determine the type of the specified camera, it returns kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996